package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import javax.persistence.Table;
import java.util.Date;

@Data
@Table
public class Blog {
    @TableId(type = IdType.AUTO)
           private Long id;
           private String  title;
           private String content;
           private String first_picture;
           private String flag;
           private int  views;
           private String appreciation;
           private String share_statement;
           private String commentabled;
           private String published;
           private String recommend;
           private Date create_time;
           private  Date update_time;
           private int type_id;
           private int user_id;
           private String description;
           private String tag_ids;
           private User user;
           private Type type;
           private  String name;
}
